#pragma once
#include "Person.h"
class Couple
{
private:
	Person boy;
	Person girl;
public:

	Couple(void)
	{
	}

	Couple( Person boy, Person girl )
	{
		this->boy = boy;
		this->girl = girl;
	}

	~Couple(void)
	{
	}

	friend bool operator==( Couple &lop, Couple &hop )
	{
		if( lop.boy == hop.boy )
			if( lop.girl == hop.girl )
				return true;
		return false;
	}

	friend bool operator<( Couple &lop, Couple &hop )
	{
		return lop.girl < hop.girl;
	}

	friend ostream& operator<<( ostream &out, Couple &c )
	{
		out << "Couple:" << endl;
		out << c.girl;
		out << c.boy;
		out << endl;
		return out;
	}
};

